export default [
  {
    path: '/base-manage/dictionary-manage/navList',
    // 注意：这里没有使用 name 属性
    name: 'base-manage',
    meta: {
      title: '数据字典',
    },
    component: () => import('@/views/base-manage/dictionary-manage/nav-list.vue'),
    children: [
      {
        path: '/base-manage/dictionary-manage/navList/index',
        name: 'itemList',
        component: () => import('@/views/base-manage/dictionary-manage/index.vue'),
      },
      // {
      //   path: '', // 默认子路由
      //   redirect: 'index', // 重定向到 index
      // },
      // {
      //   path: 'index',
      //   name: 'itemList',
      //   component: () => import('@/views/base-manage/dictionary-manage/index.vue'),
      // },
    ],
  },
];
